from typing import Callable
import functools
import json
import traceback
import json

tools = [
    {
        "type": "function",
        "function": {
            "name": "get_weather",
            "description": "Get the current weather for `city_name`",
            "parameters": {
                "type": "object",
                "properties": {
                    "city_name": {
                        "description": "The name of the city to be queried",
                        "type": "string"
                    }
                },
                "required": [ "city_name" ]
            },
        }
    }
]
